/**
* Copyright (C) 2018-2020
* All rights reserved, Designed By www.yixiang.co
* 注意：
* 本软件为www.yixiang.co开发研制，未经购买不得使用
* 购买后可获得全部源代码（禁止转卖、分享、上传到码云、github等开源平台）
* 一经发现盗用、分享等行为，将追究法律责任，后果自负
*/
package co.yixiang.upms.common.system.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

import java.math.BigDecimal;
import java.util.Date;
import java.util.Set;

/**
* @author hupeng
* @date 2020-05-14
*/
@Data
public class UserDto implements Serializable {


    @ApiModelProperty(hidden = true)
    private Long id;
    private String realName;
    private BigDecimal nowMoney;
    private BigDecimal brokeragePrice;
    private Integer status;
    private Integer level;
    private String address;

    private String username;

    private String nickName;

    private String sex;

    private String avatar;

    private String email;

    private String phone;

    private Boolean enabled;

    //@JsonIgnore
    private String password;

    private Date lastPasswordResetTime;
    //用户所属门店id

    @ApiModelProperty(hidden = true)
    private Integer retail;

    private Integer retailType;


    private Integer permit;

    @ApiModelProperty(hidden = true)
    private Set<RoleSmallDto> roles;

    @ApiModelProperty(hidden = true)
    private JobSmallDto job;

    private DeptSmallDto dept;

    private Long deptId;

    private Date createTime;






}
